/*
 * @Author: your name
 * @Date: 2020-08-27 09:51:55
 * @LastEditTime: 2020-08-27 10:24:15
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \ryfront\src\api\roleuser.js
 */
import axios from './http'


//通过角色获取关联用户
export const roleUserByRoleId = (id) => {
    return axios.get("/d_role_user/d-role-user/getUserRoleByAccount",{params:{roleId:id}});
}

//批量操作角色关联用户
export const roleUserAdds = (roleId,userIdArray) => {
    return axios.post("/d_role_user/d-role-user/addRoleUsers",{roleId:roleId,userIds:userIdArray});
}
